To give it a more natural behaviour I also used the ‘y2’-Variable to set the X-scale of the flashlight. Set Property ("/light2/light", X Scale) = 100-(y2/5) The whole Action-script to move and alter the flashlight is now: x1 = getProperty("/light2", _x); y1 = getProperty("/light2", _y); x2 = int((x1-380)/4.22); y2 = int((y1-300)*-0.8); if (y2<100) { y2 = 100; } setProperty ("/light2/light", _rotation, x2); setProperty ("/light2/light", _yscale y2); setProperty ("/light2/light", _xscale, 100-(y2/5)); setProperty ("/switch/case", _rotation, int((x2*-0.7))=67)